<template>
  <div class="guardcat-logo-root">
    <img class="guardcat-logo" src="@/assets/imgs/guardcat/guardcat_logo.jpg" />
    <div class="logo-and-version">
      <div class="logo-instance">{{ system.GlobalConstants.SYSTEM.FULLNAME }}</div>
      <span class="version-instance">v{{ system.GlobalConstants.SYSTEM.VERSION }}</span>
    </div>
  </div>
</template>

<script setup lang="ts">
import * as system from '@/assets/constants/system'
</script>

<style scoped lang="scss">
.guardcat-logo-root {
  @include flex(row, space-between, flex-start);
  @include box(100%, 70px);
  padding: 10px 10px 10px 10px;

  .guardcat-logo {
    @include box(50px, 50px);
  }

  .logo-and-version {
    @include flex(column, space-around, flex-end);
    height: 100%;

    .logo-instance {
      @include font(20px, 700);
      color: var(--el-color-primary);
      text-align: left;
      letter-spacing: 0;
    }

    .version-instance {
      @include font(12px, 700);
      margin-top: 3px;
      color: var(--el-color-primary);
    }
  }
}
</style>